<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<table>
		<tr>
			<script language="javascript">
				var lastPageCount=8;
				var upPageCount=0;
				var nextPageCount=2;
				function firstPage(){
					document.forms["queryForm"].page.value='1';
					document.forms["queryForm"].submit();
				}
				function lastPage(){
					document.forms["queryForm"].page.value=lastPageCount;
					document.forms["queryForm"].submit();
				}
				function upPage(){
					document.forms["queryForm"].page.value=upPageCount;
					document.forms["queryForm"].submit();
				}
				function nextPage(){
					document.forms["queryForm"].page.value=nextPageCount;
					document.forms["queryForm"].submit();
				}
				function goPage(obj){
					var pNo = obj.options[obj.options.selectedIndex].value;
					if (pNo<1 || pNo > lastPageCount){
						alert("你输入的页码必须在[1-"+lastPageCount+"]之间.");
						return
					}
					document.forms["queryForm"].page.value=pNo;
					document.forms["queryForm"].submit();
				}
			</script>
			<td align='center'>&nbsp;首页&nbsp;</td>
			<td align='center'>&nbsp;上一页&nbsp;</td>
			<td align='center'><a href='javascript:nextPage()'>&nbsp;下一页&nbsp;</a></td>
			<td align='center'><a href='javascript:lastPage()'>&nbsp;末页&nbsp;</a></td>
			<td align='center'>&nbsp;页码</td>
			<td align='center'><select onchange='goPage(this)'
				id='pageSelect' name='pageSelect' class='pageSelect'>
					<option selected=true value='1'>1/8</option>
					<option value='2'>2/8</option>
					<option value='3'>3/8</option>
					<option value='4'>4/8</option>
					<option value='5'>5/8</option>
					<option value='6'>6/8</option>
					<option value='7'>7/8</option>
					<option value='8'>8/8</option>
			</select></td>
			<td align='center'>&nbsp;共<b>102</b>条&nbsp;每页</td>
			<td align='center'><select onchange='goPage(this)'
				id='pageSize' name='pageSize' class='pageSize'>
					<option selected=true value='5'>5</option>
					<option value='10'>10</option>
					<option value='15'>15</option>
					<option value='30'>30</option>
					<option value='50'>50</option>
					<option value='100'>100</option>
			</select></td>
		</tr>
	</table>
</body>
</html>